let square = []

for (let i = 1; i < 10; i++) {
    square.push(i*i)
}

console.log(square)
let toggle = 1

toggle ^= 1

console.log(toggle)